import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * <p>
 * ${table.comment} Request
 * </p>
 *
 * @author ${author}
 * @since ${date?date}
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ${entity}Req extends PageRequest {

    private static final long serialVersionUID = 1L;

<#list table.fields as field>
    <#if field.keyFlag>
    /**
     * 主键
     */
    private ${field.propertyType} id;
    <#elseif !field.keyFlag>
    /**
     * ${field.comment}
     */
    <#if field.propertyType == "LocalDateTime">
    private Date ${field.propertyName};
    </#if>
    <#if field.propertyType != "LocalDateTime">
    private ${field.propertyType} ${field.propertyName};
    </#if>
    </#if>
</#list>
}
